﻿@{
    List<SelectListItem> listTipoTransporte = (List<SelectListItem>)ViewBag.listTipoTransporte;
    String sTipoAuto = SWGeneracionE.Constantes.TIPOTRANSPORTE_AUTO.ToString();
}
<div id="ui-dialog-inscribir">
    <form id="inscribir-form" class="jtable-dialog-form jtable-create-form">
        <input type="hidden" name="idParticipante" id="Inscribir-idParticipante" value="">
        <input type="hidden" name="idParticipanteXEvento" id="Inscribir-idParticipanteXEvento" value="">
        <input type="hidden" name="idEvento" id="Inscribir-idEvento" value="@ViewBag.Evento">
        <div id="divCodigo" class="jtable-input-field-container">
            <div class="jtable-input-label">Código</div>
            <div class="jtable-input jtable-text-input">
                <input id="Inscribir-codigo" name="codigo" type="text" readonly="readonly">
            </div>
        </div>
        <div class="jtable-input-field-container">
            <div class="jtable-input-label">Tipo de transporte</div>
            <div class="jtable-input jtable-dropdown-input">
                @Html.DropDownList("tipoTransporte", listTipoTransporte, "Indefinido", new { id = "Inscribir-tipoTransporte", name = "tipoTransporte", @onchange = "CambiarTipoTransporte(this, '" + sTipoAuto + "');" })
            </div>
        </div>
        <div id="accAuto" class="accauto">
            <h3>Datos Vehículo</h3>
            <div>
                <div class="jtable-input-field-container">
                    <div class="jtable-input-label">Marca Vehículo</div>
                    <div class="jtable-input jtable-text-input">
                        <input id="Inscribir-marcaAuto" name="marcaAuto" type="text" class="validate[maxSize[45]]">
                    </div>
                </div>
                <div class="jtable-input-field-container">
                    <div class="jtable-input-label">Placa Vehículo</div>
                    <div class="jtable-input jtable-text-input">
                        <input id="Inscribir-placaAuto" name="placaAuto" type="text" class="validate[maxSize[45]]">
                    </div>
                </div>
                <div class="jtable-input-field-container">
                    <div class="jtable-input-label">Color Vehículo</div>
                    <div class="jtable-input jtable-text-input">
                        <input id="Inscribir-colorAuto" name="colorAuto" type="text" class="validate[maxSize[45]]">
                    </div>
                </div>
                <div class="jtable-input-field-container">
                    <div class="jtable-input jtable-checkbox-input">
                        <input id="Inscribir-duenioAuto" type="checkbox" name="duenioAuto" value="false">
                        <span class="jtable-option-text-clickable">Es dueño del vehículo</span>
                    </div>
                </div>
            </div>
        </div>
        <div id="accMenor" class="accmenor">
            <h3>Datos Menor de Edad</h3>
            <div>
                <div class="jtable-input-field-container">
                    <div class="jtable-input-label">Código Tutor</div>
                    <div class="jtable-input jtable-text-input">
                        <input id="Inscribir-codigoTutor" name="codigoTutor" type="text" class="validate[maxSize[20]] inscribir-tutor">
                        <img src="~/Content/images/ID.png" title="Buscar Tutor" onclick="BuscarParticipante('#ui-dialog-tutor');" />
                    </div>
                </div>
                <div class="jtable-input-field-container">
                    <div class="jtable-input jtable-checkbox-input">
                        <input id="Inscribir-cartaMenor" type="checkbox" name="cartaMenor" value="false">
                        <span class="jtable-option-text-clickable">Presentó carta legalizada</span>
                    </div>
                </div>
                <div class="jtable-input-field-container">
                    <div class="jtable-input jtable-checkbox-input">
                        <input id="Inscribir-firmaPadre" type="checkbox" name="firmaPadre" value="false">
                        <span class="jtable-option-text-clickable">Firma de Padre</span>
                    </div>
                </div>
                <div class="jtable-input-field-container">
                    <div class="jtable-input jtable-checkbox-input">
                        <input id="Inscribir-firmaMadre" type="checkbox" name="firmaMadre" value="false">
                        <span class="jtable-option-text-clickable">Firma de Madre</span>
                    </div>
                </div>
            </div>
        </div>
        <div class="jtable-input-field-container">
            <div class="jtable-input jtable-checkbox-input">
                <input id="Inscribir-firmoContrato" type="checkbox" name="firmoContrato" value="false">
                <span class="jtable-option-text-clickable">Firmó contrato</span>
            </div>
        </div>
        <div class="jtable-input-field-container">
            <div class="jtable-input jtable-checkbox-input">
                <input id="Inscribir-cortesia" type="checkbox" name="cortesia" value="false">
                <span class="jtable-option-text-clickable">Es cortesía</span>
            </div>
        </div>
        <div class="jtable-input-field-container">
            <div class="jtable-input jtable-checkbox-input">
                <input id="Inscribir-recaudacion" type="checkbox" name="recaudacion" value="false" disabled="disabled">
                <span class="jtable-option-text-clickable">Esta en recaudación</span>
            </div>
        </div>
        <div class="jtable-input-field-container">
            <div class="jtable-input-label">Observaciones</div>
            <div class="jtable-input jtable-textarea-input">
                <textarea id="Inscribir-observaciones" name="observaciones" class="validate[maxSize[150]]"></textarea>
            </div>
        </div>
    </form>
</div>
<div id="ui-dialog-tutor">
    <div class="filtering">
        <form>
            Nombres:
            <input type="text" class="fnombres" />
            Apellidos:
            <input type="text" class="fapellidos" />
            C&oacute;digo:
            <input type="text" class="fcodigo" />
            <p class="centered">
                <button type="submit" class="ConsultarPButton">Consultar</button></p>
        </form>
    </div>
    <div class="ParticipanteTable"></div>
</div>
<div id="ui-dialog-estadocuenta">
    <input type="hidden" name="idparticipante" id="ec-idparticipante" />
    <div id="EstadoCuentaTable" class="EstadoCuentaTable"></div>
    <hr />
    <table class="totals fullsize">
        <tr>
            <td class="right">Total sin Recaudaci&oacute;n (<span id="ec-moneda" class="moneda"></span>)</td>
            <td>
                <input type="text" name="subtotal" id="ec-subtotal" readonly /></td>
        </tr>
        <tr>
            <td class="right">Recaudaci&oacute;n (GTQ)</td>
            <td>
                <input type="text" name="recaudacion" id="ec-recaudacion" readonly /></td>
        </tr>
        <tr>
            <td class="right">Total Aprox (GTQ)</td>
            <td>
                <input type="text" name="total" id="ec-total" readonly /></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
        </tr>
        <tr id="ec-pagobus" class="pagobus">
            <td class="right">Pago Bus</td>
            <td id="ec-verpagobus" class="verpagobus"></td>
        </tr>
    </table>
</div>
<div id="ui-dialog-detalleEC">
    <form id="detalleEC-form" class="jtable-dialog-form">
        <div class="jtable-input-field-container">
            <div class="jtable-input-label"><b><span id="ec-motivo" class="motivo"></span></b></div>
            <div class="jtable-input-label">Cuota No.  <b><span id="ec-nopago" class="nopago"></span></b></div>
            <div class="jtable-input-label">Fecha:  <b><span id="ec-fecha" class="fecha"></span></b></div>
        </div>
        <div class="jtable-input-field-container">
            <div class="jtable-input-label">Tipo:  <b><span id="ec-tipo" class="tipo"></span></b></div>
            <div class="jtable-input-label">Estado:  <b><span id="ec-estado" class="estado"></span></b></div>
        </div>
        <div class="jtable-input-field-container">
            <div class="jtable-input-label">Monto (<span id="ec-monedapago" class="monedapago"></span>)</div>
            <div class="jtable-input jtable-text-input">
                <input id="ec-monto" name="monto" type="text" readonly />
            </div>
        </div>
        <div class="jtable-input-field-container">
            <div class="jtable-input-label">Documento</div>
            <div class="jtable-input jtable-text-input">
                <input id="ec-documento" name="documento" type="text" readonly />
            </div>
        </div>
        <div class="jtable-input-field-container">
            <div class="jtable-input-label">Boleta asociada</div>
            <div class="jtable-input jtable-text-input">
                <input id="ec-boleta" name="boleta" type="text" readonly />
            </div>
        </div>
        <div class="jtable-input-field-container">
            <div class="jtable-input-label">Observaciones</div>
            <div class="jtable-input jtable-textarea-input">
                <textarea id="ec-observaciones" name="observaciones" readonly></textarea>
            </div>
        </div>
    </form>
</div>
